package com.guchenbo.example.dfs;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author guchenbo
 * @date 2024/7/29
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TreeNode {
    private boolean root;
    private String name;
    private List<TreeNode> children;
}
